package oop4.pet;

import oop4.Dog;

/**
 * @author oldliu
 * @since 1.0
 */
public class PetTest {
    public static void main(String[] args) {
        Dog d=new Dog("大黄",99,70,"公","中国土狗");
        d.print();
       // System.out.println(d.color);
        System.out.println(">>>>>>>>>>>>>>>>>>>>>>>>");
        Dog d2=new Dog("哮天犬","中华田园犬");
        d2.print();
        d2.duoguanxianshi();

        Parrot p = new Parrot("阿绿");
        p.print();
        p.fly();
    }
}
